<?php
/*********************/
/*                   */
/* http://www.ymd.cc */
/*********************/
/*    QQ: 11121426   */
/*                   */
/*********************/

function tpl_compile_modifier_cur($attrs, &$compile)
{
    if (!strpos($attrs, ",") || false !== strpos($attrs, ",")) {
        $compile->_head_stack['$CURRENCY = &$this->system->loadModel("system/cur")'] = 1;
        $ret = '$CURRENCY->changer(' . $attrs . ')';
        return $ret;
    }
}

?>
